# telegram-bot-shadowrun  
This bot atm provides inline rolling, as well as /roll or /r.

## Installation
This installation will clone the repo, and install dependecies using a venv.
1. Clone the repo: `git clone "https://notabug.org/samtinel/telegram-bot-shadowrun"`
2. Create a venv with `python3 -m venv telegram-bot-shadowrun`.
3. Activate it: `cd telegram-bot-shadowrun; . ./bin/activate`. Use a different file if you're not using bash.
4. Install requirements: `pip install -r requirements.txt`
5. Enter your t.me/botfather token at src/config.py
6. Start: `./telegram-bot-shadowrun run`

In order to be able to use the inline rolling, activate /setinline for the bot at the botfather.  

You can also take a look at the configuration at src/config.py for certain settings. There, you can also edit the possible outcomes, and with that, their weight.

## License
For the license, visit COPYING in the root dir.
